package design.commond;

/**
 * ClassName:MyCommond <br/>
 * description:  <br/>
 * Date:     2019/4/22、17:02 <br/>
 *
 * @author Plank
 */
public class MyCommond implements Commond{
    private Receiver receiver;

    public MyCommond(Receiver receiver) {
        this.receiver = receiver;
    }

    @Override
    public void exe() {
        System.out.println("myCommond exe");
        receiver.action();
    }
}
